package o;

import androidx.annotation.NonNull;
import com.huawei.appgallery.assistantdock.buoydock.bean.GetGameBuoyEntryInfoResp;
import com.huawei.appgallery.assistantdock.buoydock.bean.GetGameBuoyEntryInfoResp$FuncInfo;
import com.huawei.appgallery.assistantdock.buoydock.bean.GetGameBuoyEntryInfoResp$PlayerInfo;
import com.huawei.appgallery.assistantdock.buoydock.card.bean.BuoyLanternCardBeanBuoy;
import java.util.ArrayList;
import java.util.List;

public class ezo {
    private BuoyLanternCardBeanBuoy ʻ;
    private int ʼ;
    private int ʽ;
    private GetGameBuoyEntryInfoResp$PlayerInfo ˊ;
    private String ˋ;
    private List<bfo> ˎ = new ArrayList(8);
    private List<bgl> ˏ = new ArrayList(5);
    private bvo ͺ;
    private String ॱ;
    private String ॱॱ;
    private int ᐝ;

    public GetGameBuoyEntryInfoResp$PlayerInfo ॱ() {
        return this.ˊ;
    }

    public List<bgl> ˏ() {
        return new ArrayList(this.ˏ);
    }

    public List<bfo> ˎ() {
        return new ArrayList(this.ˎ);
    }

    public String ˋ() {
        return this.ॱ;
    }

    public String ˊ() {
        return this.ˋ;
    }

    public int ʻ() {
        return this.ʽ;
    }

    public int ᐝ() {
        return this.ᐝ;
    }

    public boolean ʽ() {
        return this.ʼ == 1;
    }

    public bgl ʼ() {
        if (this.ˏ.size() <= 0) {
            return null;
        }
        return (bgl) this.ˏ.get(0);
    }

    public boolean ॱॱ() {
        for (bgl ˊ : this.ˏ) {
            if (ˊ.ˊ()) {
                return true;
            }
        }
        return false;
    }

    void ˊ(GetGameBuoyEntryInfoResp getGameBuoyEntryInfoResp) {
        this.ॱ = getGameBuoyEntryInfoResp.ॱ();
        this.ˋ = getGameBuoyEntryInfoResp.ˎ();
        this.ˊ = getGameBuoyEntryInfoResp.ˊ();
        this.ʽ = getGameBuoyEntryInfoResp.ˋ();
        this.ʼ = getGameBuoyEntryInfoResp.ॱॱ();
        this.ᐝ = getGameBuoyEntryInfoResp.ʽ();
        this.ॱॱ = getGameBuoyEntryInfoResp.ᐝ();
        this.ˏ.clear();
        this.ˎ.clear();
        if (getGameBuoyEntryInfoResp.ˏ() != null && getGameBuoyEntryInfoResp.ˏ().size() > 0) {
            for (GetGameBuoyEntryInfoResp$FuncInfo getGameBuoyEntryInfoResp$FuncInfo : getGameBuoyEntryInfoResp.ˏ()) {
                if (getGameBuoyEntryInfoResp$FuncInfo.ˊ() == 1 || getGameBuoyEntryInfoResp$FuncInfo.ˊ() == 3) {
                    this.ˏ.add(ˎ(getGameBuoyEntryInfoResp$FuncInfo));
                } else {
                    this.ˎ.add(ˊ(getGameBuoyEntryInfoResp$FuncInfo));
                }
            }
        }
    }

    private bfo ˊ(GetGameBuoyEntryInfoResp$FuncInfo getGameBuoyEntryInfoResp$FuncInfo) {
        bfo o_bfo = new bfo();
        o_bfo.ˋ(getGameBuoyEntryInfoResp$FuncInfo.ॱ());
        o_bfo.ˊ(getGameBuoyEntryInfoResp$FuncInfo.ˏ());
        o_bfo.ॱ(getGameBuoyEntryInfoResp$FuncInfo.ˎ());
        o_bfo.ˏ(getGameBuoyEntryInfoResp$FuncInfo.ʻ());
        o_bfo.ˏ(getGameBuoyEntryInfoResp$FuncInfo.ʼ());
        o_bfo.ˊ(getGameBuoyEntryInfoResp$FuncInfo.ॱॱ());
        return o_bfo;
    }

    @NonNull
    private bgl ˎ(GetGameBuoyEntryInfoResp$FuncInfo getGameBuoyEntryInfoResp$FuncInfo) {
        bgl o_bgl = new bgl();
        o_bgl.ˋ(getGameBuoyEntryInfoResp$FuncInfo.ˎ());
        o_bgl.ˏ(getGameBuoyEntryInfoResp$FuncInfo.ॱ());
        o_bgl.ˎ(getGameBuoyEntryInfoResp$FuncInfo.ˏ());
        o_bgl.ˋ(getGameBuoyEntryInfoResp$FuncInfo.ˋ());
        return o_bgl;
    }

    public BuoyLanternCardBeanBuoy ͺ() {
        return this.ʻ;
    }

    public void ˏ(BuoyLanternCardBeanBuoy buoyLanternCardBeanBuoy) {
        this.ʻ = buoyLanternCardBeanBuoy;
    }

    public bvo ॱˊ() {
        return this.ͺ;
    }

    public void ॱ(bvo o_bvo) {
        this.ͺ = o_bvo;
    }
}
